package io.renren.modules.noc.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单支付
 *
 * @author zgw, 995115107@qq.cm
 * @since 3.0 2022-04-23
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class TOrderPayExcel {
    @ExcelProperty(value = "主键", index = 0)
    private Long id;
    @ExcelProperty(value = "支付编号，大写字母Z+时间戳+两位随机数", index = 1)
    private String payCode;
    @ExcelProperty(value = "订单id", index = 2)
    private Long orderId;
    @ExcelProperty(value = "订单编号", index = 3)
    private String orderCode;
    @ExcelProperty(value = "会员id", index = 4)
    private Long accountId;
    @ExcelProperty(value = "付款金额", index = 5)
    private BigDecimal payAmount;
    @ExcelProperty(value = "付款时间", index = 6)
    private Date payTime;
    @ExcelProperty(value = "付款方法：offline线下，wxpay微信支付，alipay支付宝支付", index = 7)
    private String payMethod;
    @ExcelProperty(value = "第三方支付订单号", index = 8)
    private String thirdNo;
    @ExcelProperty(value = "-1支付失败，0支付中，1支付成功", index = 9)
    private Integer payStatus;
    @ExcelProperty(value = "0全款，1第一期，2第二期", index = 10)
    private Integer payType;
    @ExcelProperty(value = "付款成功时间", index = 11)
    private Date successTime;
    @ExcelProperty(value = "失败原因", index = 12)
    private String failReason;
}